<div class="sesiones view">
<h2><?php  __('Sesione');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sesione['Sesione']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nombre'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sesione['Sesione']['nombre']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Cartilla'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($sesione['Cartilla']['id'], array('controller' => 'cartillas', 'action' => 'view', $sesione['Cartilla']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sesione['Sesione']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sesione['Sesione']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Sesione', true), array('action' => 'edit', $sesione['Sesione']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Sesione', true), array('action' => 'delete', $sesione['Sesione']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $sesione['Sesione']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Sesiones', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sesione', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Cartillas', true), array('controller' => 'cartillas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Cartilla', true), array('controller' => 'cartillas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Asistencias', true), array('controller' => 'asistencias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Asistencia', true), array('controller' => 'asistencias', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Participantes', true), array('controller' => 'participantes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Participante', true), array('controller' => 'participantes', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Asistencias');?></h3>
	<?php if (!empty($sesione['Asistencia'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Participante Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Sesione Id'); ?></th>
		<th><?php __('Sedesiem Id'); ?></th>
		<th><?php __('Fecha'); ?></th>
		<th><?php __('Horas'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sesione['Asistencia'] as $asistencia):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $asistencia['id'];?></td>
			<td><?php echo $asistencia['participante_id'];?></td>
			<td><?php echo $asistencia['user_id'];?></td>
			<td><?php echo $asistencia['sesione_id'];?></td>
			<td><?php echo $asistencia['sedesiem_id'];?></td>
			<td><?php echo $asistencia['fecha'];?></td>
			<td><?php echo $asistencia['horas'];?></td>
			<td><?php echo $asistencia['created'];?></td>
			<td><?php echo $asistencia['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'asistencias', 'action' => 'view', $asistencia['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'asistencias', 'action' => 'edit', $asistencia['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'asistencias', 'action' => 'delete', $asistencia['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $asistencia['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Asistencia', true), array('controller' => 'asistencias', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Participantes');?></h3>
	<?php if (!empty($sesione['Participante'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Fecha Diligenciamiento'); ?></th>
		<th><?php __('Primer Nombre'); ?></th>
		<th><?php __('Segundo Nombre'); ?></th>
		<th><?php __('Primer Apellido'); ?></th>
		<th><?php __('Segundo Apellido'); ?></th>
		<th><?php __('Fecha Nacimiento'); ?></th>
		<th><?php __('Municipio Nacimiento Id'); ?></th>
		<th><?php __('Tipo Documento'); ?></th>
		<th><?php __('Municipio Expedicion Id'); ?></th>
		<th><?php __('Genero'); ?></th>
		<th><?php __('Estado Civil'); ?></th>
		<th><?php __('Etnia'); ?></th>
		<th><?php __('Personas Cargo'); ?></th>
		<th><?php __('Barrio'); ?></th>
		<th><?php __('Direccion'); ?></th>
		<th><?php __('Rural'); ?></th>
		<th><?php __('Telefono'); ?></th>
		<th><?php __('Celular'); ?></th>
		<th><?php __('Correo'); ?></th>
		<th><?php __('Sisben'); ?></th>
		<th><?php __('Desplazado'); ?></th>
		<th><?php __('Desmovilizado'); ?></th>
		<th><?php __('Ocupacion'); ?></th>
		<th><?php __('Desempeño Laboral'); ?></th>
		<th><?php __('Ciclo Id'); ?></th>
		<th><?php __('Grupo Id'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sesione['Participante'] as $participante):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $participante['id'];?></td>
			<td><?php echo $participante['fecha_diligenciamiento'];?></td>
			<td><?php echo $participante['primer_nombre'];?></td>
			<td><?php echo $participante['segundo_nombre'];?></td>
			<td><?php echo $participante['primer_apellido'];?></td>
			<td><?php echo $participante['segundo_apellido'];?></td>
			<td><?php echo $participante['fecha_nacimiento'];?></td>
			<td><?php echo $participante['municipio_nacimiento_id'];?></td>
			<td><?php echo $participante['tipo_documento'];?></td>
			<td><?php echo $participante['municipio_expedicion_id'];?></td>
			<td><?php echo $participante['genero'];?></td>
			<td><?php echo $participante['estado_civil'];?></td>
			<td><?php echo $participante['etnia'];?></td>
			<td><?php echo $participante['personas_cargo'];?></td>
			<td><?php echo $participante['barrio'];?></td>
			<td><?php echo $participante['direccion'];?></td>
			<td><?php echo $participante['rural'];?></td>
			<td><?php echo $participante['telefono'];?></td>
			<td><?php echo $participante['celular'];?></td>
			<td><?php echo $participante['correo'];?></td>
			<td><?php echo $participante['sisben'];?></td>
			<td><?php echo $participante['desplazado'];?></td>
			<td><?php echo $participante['desmovilizado'];?></td>
			<td><?php echo $participante['ocupacion'];?></td>
			<td><?php echo $participante['desempeño_laboral'];?></td>
			<td><?php echo $participante['ciclo_id'];?></td>
			<td><?php echo $participante['grupo_id'];?></td>
			<td><?php echo $participante['created'];?></td>
			<td><?php echo $participante['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'participantes', 'action' => 'view', $participante['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'participantes', 'action' => 'edit', $participante['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'participantes', 'action' => 'delete', $participante['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $participante['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Participante', true), array('controller' => 'participantes', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
